"use strict";
exports.__esModule = true;
var res = { name: '小花', city: '武汉', skills: ['js', 'css'] };
function fn(obj) {
    // 这里写 obj. 就会有提示
    obj.skills;
}
fn(res);
var a = 'y';
function fn1(value) {
    return value;
}
var num1 = fn1(10);
function useState(value) {
    var setVal = function () { };
    return [value, setVal];
}
function fn2(v) {
    console.log(v, 88);
    return v;
}
function fn3(value) {
    return value;
}
console.log(fn3('22222'), 99);
function fn4(obj, key) {
    return obj[key];
}
console.log(fn4({ id: 2, name: 'jack' }, 'name'), 77);
var obj = {
    length: 22,
    push: function () { },
    pop: function () {
        return 1;
    },
    reverse: function () {
        return [1];
    }
};
var pp = { id: 1, children: [2] };
pp.id = 333;
console.log(pp.id, 555);
